import request from '../request'

// 景区列表
function listAttractions(data) {
    return request.get('/attractions/attraction-management/listAttractions', data)
}
// 景区详情
function detailAttraction(data) {
    return request.get('/attractions/attraction-management/detailAttraction', data)
}
// 分页点位列表
function listSpots(data) {
    return request.get('/attractions/attraction-management/listSpots', data)
}
// 点位详情
function detailSpot(data) {
    return request.get('/attractions/attraction-management/detailSpot', data)
}
// 预约列表
function addTourist(data) {
    return request.get('/attractions/attraction-management/addTourist', data)
}
// 预约
function booking(data) {
    return request.post('/attractions/attraction-management/booking', data)
}
// 活动列表
function listInfos(data) {
    return request.get('/attractions/attraction-management/listInfos', data)
}
// 活动详情
function detailInfo(data) {
    return request.get('/attractions/attraction-management/detailInfo', data)
}



export default {
    listAttractions,
    detailAttraction,
    listSpots,
    detailSpot,
    addTourist,
    booking,
    listInfos,
    detailInfo
}